package com.ws.demo1.demos.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Segment {

    public int startIndex; // 从哪根K线开始
    public int endIndex;   // 到哪根K线结束
    public double startPrice;
    public double endPrice;
    public boolean isUp;

}
